<template>
    <el-table :data="items" border :header-cell-style="{'background-color':'#eaeaea'}">
        <el-table-column prop="refund_price" label="退款金额" />
        <el-table-column prop="user_note" label="退款原因" />
        <el-table-column prop="refund_note" label="拒绝原因" />
        <el-table-column prop="audit_status" label="审核状态" >
            <template #default="{row}">
                <el-tag effect="plain" size="small" :type="orderRefundService.auditStatus[row.audit_status]?.type">
                    {{ orderRefundService.auditStatus[row.audit_status]?.title }}
                </el-tag>
            </template>
        </el-table-column>
    </el-table>
</template>

<script setup lang="ts">

import orderRefundService from "@/service/orderRefund";

const props = withDefaults(defineProps<{
    items: any[]
}>(), {

})


</script>

<style scoped lang="scss">
.item_table{
    background-color: #000 !important;
}
</style>
